<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>${fns:getConfig('productName')}</title>
	<meta name="decorator" content="blank"/>
    <c:if test="${cookie.tabmode.value eq '1'}"><link rel="Stylesheet" href="${ctxStatic}/jerichotab/css/jquery.jerichotab.css" />
    <script type="text/javascript" src="${ctxStatic}/jerichotab/js/jquery.jerichotab.js"></script></c:if>
	<style type="text/css">
		
	</style>
	<script type="text/javascript">
	
	</script>
</head>
<body>
	<div id="main">
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为000" id="externalPendingReview"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为001" id="externalToBeProduced"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为002" id="externalInProduction"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为003" id="externalProductionIsCompleted"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为004" id="externalToBeDelivered"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为005" id="externalPendingReceipt"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为006" id="externalPendingPayment"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为007" id="externalCompleted"></a></br>
		
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为008" id="internalPendingReview"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为009" id="internalToBeProduced"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为010" id="internalInProduction"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为011" id="internalProductionIsCompleted"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为012" id="internalToBeDelivered"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为013" id="internalPendingReceipt"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为014" id="internalPendingPayment"></a></br>
		<a href="${ctx}/sys/dict/" title="内部待处理销售订单数量为014" id="internalCompleted"></a></br>
	</div>
	<script type="text/javascript"> 
	/* $(document).ready(function(){
		 setTimeout(function(){
			 var f = arguments.callee;
			  $.ajax({
	              type: "post",
	              dataType:'json', //接受数据格式 
	              cache:false,
	              data:"orderStatus="+"0",
	              url: "${ctx}/bu/buOrder/orderStatus",
	              beforeSend: function(XMLHttpRequest){
	            	  console.log("<---------beforeSend-------->");
	              },
	              success: function(data){
	            	  setTimeout(f,5000);
	            	  console.log("<---------"+data.externalPendingReview+"--------->");
	            	  $("#externalPendingReview").text(data.externalPendingReview);
	            	  $("#externalToBeProduced").text(data.externalToBeProduced);
	            	  $("#externalInProduction").text(data.externalInProduction);
	            	  $("#externalProductionIsCompleted").text(data.externalProductionIsCompleted);
	            	  $("#externalToBeDelivered").text(data.externalToBeDelivered);
	            	  $("#externalPendingReceipt").text(data.externalPendingReceipt);
	            	  $("#externalPendingPayment").text(data.externalPendingPayment);
	            	  $("#externalCompleted").text(data.externalCompleted);
	            	  
	            	  $("#internalPendingReview").text(data.internalPendingReview);
	            	  $("#internalToBeProduced").text(data.internalToBeProduced);
	            	  $("#internalInProduction").text(data.internalInProduction);
	            	  $("#internalProductionIsCompleted").text(data.internalProductionIsCompleted);
	            	  $("#internalToBeDelivered").text(data.internalToBeDelivered);
	            	  $("#internalPendingReceipt").text(data.internalPendingReceipt);
	            	  $("#internalPendingPayment").text(data.internalPendingPayment);
	            	  $("#internalCompleted").text(data.internalCompleted);
	               },
	              error: function(){
	                 alert("Error!");
	              }
	       	    });
			 },5000);
		}); */
	</script>
	<script src="${ctxStatic}/common/wsize.min.js" type="text/javascript"></script>
</body>
</html>